div {
    width: 100px;
    height: 100px;
    background: #98a;
    margin: 5px;
}

.div1 {
    box-shadow: 0px 5px 4px -4px;
}

.div2 {
    box-shadow: 3px 3px 6px -3px black;
}

.div3 {
    box-shadow: 5px 0 5px -5px black, -5px 0 5px -5px black;
}

.div4 {
    background: transparent;
    border: .3em dotted #fb3;
    filter: drop-shadow(.05em .05em .1em gray);
}